package content

import (
	"context"
	"gf_blog_admin/internal/service"

	"gf_blog_admin/api/content/v1"
)

func (c *ControllerV1) ArticleTagStore(ctx context.Context, req *v1.ArticleTagStoreReq) (res *v1.ArticleTagStoreRes, err error) {
	res = &v1.ArticleTagStoreRes{}
	err = service.ArticleTag().Store(ctx, &req.ArticleTagFormInput)
	return
}
